package com.aiguigu.admin.service;

import com.aiguigu.admin.bean.Account;
import com.aiguigu.admin.mapper.AccountMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountService {

    @Autowired
    AccountMapper accountMapper;

    public Account getAcctById(Long id){
        Account account = accountMapper.getAcct(id);
        return account;
    }
}
